package com.yonyou.brigade.third_parties.ctrip.bigcustomer.model;

import com.baomidou.mybatisplus.enums.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableName;
import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author jiangzhf@yonyou.com
 * @since 2018-08-17
 */
@TableName("ctrip_post_dictionaries")
public class CtripPostDictionaries extends Model<CtripPostDictionaries> {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;
    /**
     * 商旅职务编码
     */
    @TableField("ctrip_code")
    private String ctripCode;
    /**
     * 友报账岗位、职务名称
     */
    @TableField("post_name")
    private String postName;
    /**
     * 国内屏蔽舱
     */
    @TableField("is_book_class")
    private String isBookClass;
    /**
     * 国际屏蔽舱
     */
    @TableField("intl_book_class_block")
    private String intlBookClassBlock;
    /**
     * 0: 显示 1:删除
     */
    private Integer dr;
    /**
     * 租户ID
     */
    private String tenant;
    /**
     * 组织ID
     */
    @TableField("org_pk")
    private String orgPk;
    private Date ts;


    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getCtripCode() {
        return ctripCode;
    }

    public void setCtripCode(String ctripCode) {
        this.ctripCode = ctripCode;
    }

    public String getPostName() {
        return postName;
    }

    public void setPostName(String postName) {
        this.postName = postName;
    }

    public String getIsBookClass() {
        return isBookClass;
    }

    public void setIsBookClass(String isBookClass) {
        this.isBookClass = isBookClass;
    }

    public String getIntlBookClassBlock() {
        return intlBookClassBlock;
    }

    public void setIntlBookClassBlock(String intlBookClassBlock) {
        this.intlBookClassBlock = intlBookClassBlock;
    }

    public Integer getDr() {
        return dr;
    }

    public void setDr(Integer dr) {
        this.dr = dr;
    }

    public String getTenant() {
        return tenant;
    }

    public void setTenant(String tenant) {
        this.tenant = tenant;
    }

    public String getOrgPk() {
        return orgPk;
    }

    public void setOrgPk(String orgPk) {
        this.orgPk = orgPk;
    }

    public Date getTs() {
        return ts;
    }

    public void setTs(Date ts) {
        this.ts = ts;
    }

    public static final String ID = "id";

    public static final String CTRIP_CODE = "ctrip_code";

    public static final String POST_NAME = "post_name";

    public static final String IS_BOOK_CLASS = "is_book_class";

    public static final String INTL_BOOK_CLASS_BLOCK = "intl_book_class_block";

    public static final String DR = "dr";

    public static final String TENANT = "tenant";

    public static final String ORG_PK = "org_pk";

    public static final String TS = "ts";

    @Override
    protected Serializable pkVal() {
        return this.id;
    }

    @Override
    public String toString() {
        return "CtripPostDictionaries{" +
        "id=" + id +
        ", ctripCode=" + ctripCode +
        ", postName=" + postName +
        ", isBookClass=" + isBookClass +
        ", intlBookClassBlock=" + intlBookClassBlock +
        ", dr=" + dr +
        ", tenant=" + tenant +
        ", orgPk=" + orgPk +
        ", ts=" + ts +
        "}";
    }
}
